home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 13
/
013.d81
/
hints & tips
< prev
next >
Wrap
Text File
|
2022-08-26
|
1KB
|
93 lines
HINTS & TIPS
Howald 85281
I was having problems with all of my
games that required a joystick. It
seems the C-64 was doing left turns
all by itself with nothing in either
port. I have a joystick test routine,
but it only works in port one. Looking
at the schematic in the programmer's
reference manual, I saw that port two
goes to chips U1 and U28. Making sure
that the warranty on my C-64 had
expired, I opened it up and swapped U1
and U28 (Repairing computers is my
job.) I put it back together and
turned it on to see if the problem
changed. It did! It went away...no
more left turns and I found no other
problems.
- - - - - - - - - - - - - - - - - - -
More C-64 Tips
from
Michael Dombrowski
1. Faster Execution:
Use a period (.) instead of zero.
EXAMPLE
10 IF X=. THEN 200
Leave off the variables in NEXT
statements.
2. Bad Inputs:
Use quotes when INPUTing data. This
will prevent an 'EXTRA IGNORED'
error.
3. UnDIMensioning an array:
10 DIM A(10)
20 POKE49,PEEK(47):POKE50,PEEK(48)
30 DIM A(100)
>Note: This unDIMensions all arrays!!
4. Cursor speed:
POKE 56325,x
x = 0 to 255, 0 is fastest.
----------< end of article >----------